package com.spzx.cart.domain;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@Schema(description = "购物项数据模型")
public class CartItem {

    //购物项对应所属用户的id
    private long userId;

    //购物项对应的sku的id
    private long skuId;

    //加购价格
    private BigDecimal skuPrice;

    //商品实时价格
    private BigDecimal cartPrice;

    //购物项数量
    private Integer skuNum;

    //商品缩略图
    private String thumbImg;

    //商品标题
    private String skuName;

    //购物项选中的状态  1 选中    0未选中
    private int isChecked = 1;

    private Date createTime;
    private Date updateTime;

}
